# coding: utf-8

{{>partial_header}}


import unittest

from {{apiPackage}}.{{classFilename}} import {{classname}}  # noqa: E501


class {{#operations}}Test{{classname}}(unittest.{{#asyncio}}IsolatedAsyncio{{/asyncio}}TestCase):
    """{{classname}} unit test stubs"""

    {{#asyncio}}
    async def asyncSetUp(self) -> None:
        self.api = {{classname}}()

    async def asyncTearDown(self) -> None:
        await self.api.api_client.close()
    {{/asyncio}}
    {{^asyncio}}
    def setUp(self) -> None:
        self.api = {{classname}}()

    def tearDown(self) -> None:
        self.api.api_client.close()
    {{/asyncio}}

    {{#operation}}
    {{#asyncio}}
    async def test_{{operationId}}(self) -> None:
    {{/asyncio}}
    {{^asyncio}}
    def test_{{operationId}}(self) -> None:
    {{/asyncio}}
        """Test case for {{{operationId}}}

{{#summary}}
        {{{.}}}  # noqa: E501
{{/summary}}
        """
        pass

   {{/operation}}
{{/operations}}

if __name__ == '__main__':
    unittest.main()
